﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace t_205_verk_hopur_12.MetaData
{
    public class AnnoucementMetaData
    {
        [Required(ErrorMessage="Titill má ekki vera tómur")]
        public string Title { get; set; }

        [Required(ErrorMessage="Tilkynning má ekki vera tóm")]
        public string Body { get; set; }
    }
}
